package com.whty.Demo02;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;


/**
 * Copyright 2016-2022 tianyu education Corporation, All Rights Reserved
 * http://www.whty.com.cn/
 *
 * @author wangming
 * @version 1.0
 * @date 2020/9/8 11:28
 * @since 1.0
 */


public class UseConfAnnotationMain {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(UseCOnfAnnotationConfiguration.class);
        System.out.println(ac.getBean(UseConfAnnotationService.class));
    }
}
